package com.thresh.service.impl;

import com.thresh.service.DemoService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @Author YWB
 * @Date 2021/4/22
 * desc
 **/
@Service
public class HelloServiceImpl implements DemoService {
    @Override
    public String sayHello(String name) {
        try {
            Thread.sleep(3000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "hello:"+name;
    }
}
